﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//
using PerceptiveMCAPI;
using PerceptiveMCAPI.Types;
//

namespace PerceptiveMCAPI_Test
{
   public partial class show_campaignShareReport : System.Web.UI.UserControl
   {
      public void Display( campaignShareReportOutput output )
      {
         this.Visible = true;

         // list for binding
         List<campaignShareReportResults> cs = new List<campaignShareReportResults>();
         cs.Add( output.result );
         //
         fvCampaignShareReport.DataSource = cs;
         fvCampaignShareReport.DataBind();
      }
   }
}